package com.zhike.common.dto;

import javax.validation.constraints.NotNull;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class RevokedDTO {

    @ApiModelProperty(value = "群ID",notes = "此参数在群撤销消息时必须")
    private String groupId;

    @ApiModelProperty(value = "目标用户ID", notes = "此参数在单聊撤销消息时必须")
    private String toUid;

    // 指纹码
    @ApiModelProperty(value = "指纹码", required = true)
    @NotNull(message = "缺少参数fp")
    private String fp;

}
